_Pragma("once")

#include <string>
#include <ostream>


 struct CurrentVoltageInfo {


    std::string portNo;
    char phase = 0;
    std::string current;
    std::string voltage;

    std::ostringstream& toString(std::ostringstream& output) const {
        output << portNo << '/'<< phase << '/' << voltage << "V/" << current <<'A';

        return output;
    }

    std::ostringstream& toStringNoPort(std::ostringstream& output) const {
        output << '/'<< phase << '/' << voltage << "V/" << current <<'A';

        return output;
    }
};
